# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-beetle-lynx
pkgver=0_git20191226
pkgrel=0
_commit="74dde204c0ec6c4bc4cd7821c14548387fbd9ce8"
pkgdesc="standalone port of Mednafen Lynx to libretro"
url="https://github.com/libretro/libretro-beetle-lynx"
arch="all"
license="GPL-2.0-only AND Zlib"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/beetle-lynx-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/beetle-lynx-libretro-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 mednafen_lynx_libretro.so "$pkgdir"/usr/lib/libretro/mednafen_lynx_libretro.so
}

sha512sums="65373ec0f9b7591a3a5b6bfcc52fb53e7a02590995e2825ec8787f400fc46c613315127541aa5f36dcb2a37687ea0867d526fccd84e6383cb5397ed3f15f0446  libretro-beetle-lynx-74dde204c0ec6c4bc4cd7821c14548387fbd9ce8.tar.gz"
